STEP 13: Every brick that is hit must also be removed from the bricks list!

  • In LOGIC from add Remove inside the second if-statement.
  • Change the list to bricks and the argument to hit_sprite.

Now, every hit brick doesn't just disappear from the stage, it is also removed from the bricks list!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)